Availability |
3.0 |
Description |
Gets the action at the specified position within the specified event. This function acts on the current selection and is valid only for the active document. |
Arguments |
event, {eventBasedIndex} |
|
 |
The first argument is the JavaScript event handler through which the action is attached to the element; for example, onClick , onMouseOver , or onLoad . |
 |
The second argument is the position of the action to get. For example, if two actions are associated with the specified event, 0 is the first one and 1 is the second. If this argument is omitted, all the actions for the specified event are returned. |
|
Returns |
A string representing the function call (for example, "MM_swapImage('document.Image1','document.Image1','foo.gif', '#933292969950')" ), or an array of strings if eventBasedIndex was omitted. |
Enabler |
None. |
 |
|